// ******************************************************************
// * Copyright(c)  Dextrys P&G Team
// * Description   : Schema_INV_CHECKING_PLAN
// * CreateDate    : 2012/10/26 16:04:25
// * Creater       : InvCheckingPlanTable
// * LastChangeDate: 2012/10/26 16:04:25
// * LastChanger   : 2012/10/26 16:04:25
// * Version Info  : 1.0 For LKBOOK
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class InvCheckingPlanTable : TableInfo
    {
        public const string C_TableName = "INV_CHECKING_PLAN";

        public const string C_CHECKING_PLAN_ID = "CHECKING_PLAN_ID";
        public const string C_CHECKING_PLAN_CODE = "CHECKING_PLAN_CODE";
        public const string C_CHECKING_PERSON = "CHECKING_PERSON";
        public const string C_WAREHOUSE_CODE = "WAREHOUSE_CODE";
        public const string C_PLAN_DATE = "PLAN_DATE";
        public const string C_BEGIN_DATE = "BEGIN_DATE";
        public const string C_FINISH_DATE = "FINISH_DATE";
        public const string C_STATUS = "STATUS";
        public const string C_APPROVED_DATE = "APPROVED_DATE";
        public const string C_APPROVED_BY = "APPROVED_BY";
        public const string C_CREATED_DATE = "CREATED_DATE";
        public const string C_CREATED_BY = "CREATED_BY";
        public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
        public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
        public const string C_REMARK = "REMARK";

        public InvCheckingPlanTable()
        {
            _tableName = "INV_CHECKING_PLAN";
        }

        protected static InvCheckingPlanTable _current;
        public static InvCheckingPlanTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new InvCheckingPlanTable();

            _current.Add(C_CHECKING_PLAN_ID, new ColumnInfo(C_CHECKING_PLAN_ID, "CheckingPlanId", true, typeof(string)));
            _current.Add(C_CHECKING_PLAN_CODE, new ColumnInfo(C_CHECKING_PLAN_CODE, "CheckingPlanCode", false, typeof(string)));
            _current.Add(C_CHECKING_PERSON, new ColumnInfo(C_CHECKING_PERSON, "CheckingPerson", false, typeof(string)));
            _current.Add(C_WAREHOUSE_CODE, new ColumnInfo(C_WAREHOUSE_CODE, "WarehouseCode", false, typeof(string)));
            _current.Add(C_PLAN_DATE, new ColumnInfo(C_PLAN_DATE, "PlanDate", false, typeof(DateTime)));
            _current.Add(C_BEGIN_DATE, new ColumnInfo(C_BEGIN_DATE, "BeginDate", false, typeof(DateTime)));
            _current.Add(C_FINISH_DATE, new ColumnInfo(C_FINISH_DATE, "FinishDate", false, typeof(DateTime)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS, "Status", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE, "ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY, "ApprovedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE, "CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY, "CreatedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE, "LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY, "LastModifiedBy", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK, "Remark", false, typeof(string)));

        }

        public ColumnInfo CHECKING_PLAN_ID
        {
            get { return this[C_CHECKING_PLAN_ID]; }
        }

        public ColumnInfo CHECKING_PLAN_CODE
        {
            get { return this[C_CHECKING_PLAN_CODE]; }
        }

        public ColumnInfo CHECKING_PERSON
        {
            get { return this[C_CHECKING_PERSON]; }
        }

        public ColumnInfo WAREHOUSE_CODE
        {
            get { return this[C_WAREHOUSE_CODE]; }
        }

        public ColumnInfo PLAN_DATE
        {
            get { return this[C_PLAN_DATE]; }
        }

        public ColumnInfo BEGIN_DATE
        {
            get { return this[C_BEGIN_DATE]; }
        }

        public ColumnInfo FINISH_DATE
        {
            get { return this[C_FINISH_DATE]; }
        }

        public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }

        public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }

        public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }

        public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }

        public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }

        public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }

        public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }

        public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }



    }
}

